<template>
  <div>
    <div>
      <h3>Bob</h3>
      <ul>
        <li @click="btn('Blog')">blog</li>
        <li @click="btn('Fax')">fax</li>
      </ul>
    </div>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    btn(name) {
          this.$router.push({name}).catch(()=>{})
    },
  },
};
</script>

<style></style>
